package polls.models;

import java.io.Serializable;

public class Question implements Serializable {
	private Long id = null;
	private String content;
	private Boolean isOpen;
	public Question(String content, Boolean isOpen) {
		super();
		this.content = content;
		this.isOpen = isOpen;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Boolean getIsOpen() {
		return isOpen;
	}
	public void setIsOpen(Boolean isOpen) {
		this.isOpen = isOpen;
	}
	
}
